<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="SuperCell CRM">
    <meta name="author" content="Joe, Zach">
    <link rel="icon" href="/images/supercell.ico">

    <title>Welcome to CRM</title>

    <!-- Bootstrap core CSS -->
    <link href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="/css/jumbotron-narrow.css" rel="stylesheet">
</head>

<body>

<div class="container">
    <div class="header clearfix">
        <nav>
            <ul class="nav nav-pills pull-right">
                <li role="presentation"><a data-toggle="modal" data-target="#introModal" href="#"
                                           role="button">About</a></li>
                <li role="presentation"><a href="mailto:joe.wu@oocl.com;zach.sha@oocl.com">Contact us</a></li>
            </ul>
        </nav>
        <h3 class="text-muted">SuperCell</h3>
    </div>

    <div class="jumbotron">
        <h1>Welcome to CRM</h1>
        <p class="lead">There should a short introduction to this project so that the content in this part does not seem
            abrupt.</p>
        <p><a class="btn btn-lg btn-success" id="tcpServerTrigger" href="#" role="button">Start TCP server</a></p>
    </div>

    <div class="row marketing">
        <h2 class="sub-header">CRM system status</h2>
        <div class="table-responsive">
            <table class="table table-striped">
                <thead>
                <tr>
                    <th>#</th>
                    <th>User IP</th>
                    <th>Date of connection</th>
                </tr>
                </thead>
                <tbody id="statusBarBody">
                </tbody>
            </table>
        </div>
    </div>

    <footer class="footer">
        <p>&copy; SuperCell 2016</p>
    </footer>

</div> <!-- /container -->

<!-- Modal -->
<div class="modal fade" id="introModal" tabindex="-1" role="dialog">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span>&times;</span>
                </button>
                <h4 class="modal-title" id="myModalLabel">Author</h4>
            </div>
            <div class="modal-body">
                <p>Joe Wu</p>
                <p>Zach Sha</p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<!-- Customized JavaScript
================================================== -->
<script src="/js/supercell.js"></script>
</body>
</html>
